<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>日志编码定义</title>
  <#include "/include/layui-top.html">
  <style>
  /* 以下代码解决layer中select引发的滚动条问题，有需要时打开注释 */
  /* .layui-layer-page .layui-layer-content { overflow: visible !important; } */
  </style>
</head>
<body style='overflow: scroll;overflow:hidden'>
<form id="search-form" class="layui-form layui-card-body" action="javascript:void(0);">
  <div class="layui-form-item">
  	<div class="layui-inline">
  	  <input class="layui-input" type="text" id="optItemCode" name="optItemCode" autocomplete="off" placeholder="操作项" />
    </div>
  	<div class="layui-inline">
  	  <input class="layui-input" type="text" id="codeDefine" name="codeDefine" autocomplete="off" placeholder="操作项定义" />
    </div>
  	<div class="layui-inline">
  	  <input class="layui-input" type="text" id="optItemCode_0" name="optItemCode" autocomplete="off" placeholder="操作编码" />
    </div>
<!--     <div class="layui-inline">
	  <input class="layui-input" type="text" id="createTimeStrStart" name="createTimeStrStart" autocomplete="off" placeholder="记录创建时间开始" readonly />
    </div>
    <div class="layui-inline">
	  <input class="layui-input" type="text" id="createTimeStrEnd" name="createTimeStrEnd" autocomplete="off" placeholder="记录创建时间截止" readonly />
    </div> -->
    <div class="layui-inline">
    	<div class="layui-btn-group">
    		<button class="layui-btn" lay-submit lay-filter="search-opt">查询</button>
    		<button class="layui-btn layui-btn-normal" type="reset">重置</button>
    	</div>
    </div>
  </div>
  <table id="table" lay-size="sm" class="layui-hide" lay-filter="table"></table>
</form>
<#include "/include/layui-end.html">
<script type="text/html" id="toolbar">
  <div class="layui-btn-group">
	<@shiro.hasPermission name="bossOptLogDefine_add_opt">
    <button class="layui-btn layui-btn-sm" lay-event="addData-opt">
	  <i class="layui-icon">&#xe654;</i> 新增
	</button>
	</@shiro.hasPermission>
	<@shiro.hasPermission name="bossOptLogDefine_delete_opt">
	<button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="batch-del-opt">
	  <i class="layui-icon">&#xe640;</i> 批量删除
	</button>
	</@shiro.hasPermission>
  </div>
  <button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="refresh-opt">
	<i class="layui-icon">&#xe669;</i> 刷新
  </button>
</script>
<script type="text/html" id="optbar">
  <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="view-opt">查看</a>
  <@shiro.hasPermission name="bossOptLogDefine_edit_opt">
  <a class="layui-btn layui-btn-xs" lay-event="edit-opt">编辑</a>
  </@shiro.hasPermission>
  <@shiro.hasPermission name="bossOptLogDefine_delete_opt">
  <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del-opt">删除</a>
  </@shiro.hasPermission>
</script>
<script>
	layui.config({
		base: '/components/app/boss/bossOptLog/'
	}).use(['bossOptLogDefinePage']);
</script>
</body>
<!-- windows弹窗定义开始 -->
<div id="windows" style="display: none;">
	<form class="layui-form layui-fluid" id="win-form" lay-filter="win-form" action="javascript:;">
		<!-- 示例区开始 -->
		<!-- 
		<div class="layui-form-item">
	        <label class="layui-form-label">单列示例</label>
	        <div class="layui-input-block" style="margin-right: 45px;">
	            <input class="layui-input" type="text" id="example_id" name="example_id" placeholder="示例字段" autocomplete="off" />
	            <textarea id="example_id" name="example_id" placeholder="示例字段" class="layui-textarea" rows="10"></textarea>
	        </div>
	    </div>
	    -->
		<!-- 示例区结束 -->
		
	    <!-- 隐藏字段区开始。注意：隐藏字段严禁使用type=hidden，表单重置将无效，正确方法是设置style样式display:none; -->
	    <input class="layui-input layui-hide" id="defineId-win" name="defineId" placeholder="define_id"   autocomplete="off" />
	    <!-- 隐藏字段区结束 -->
	    <div class="layui-form-item">
		    <!-- 新增编辑窗口：操作项属性 -->
            <label class="layui-form-label">操作项</label>
            <div class="layui-input-block">
                <textarea class="layui-textarea" id="optItemCode-win" name="optItemCode" placeholder="操作项" rows="5"></textarea>
            </div>
	    </div>
	    <div class="layui-form-item">
		    <!-- 新增编辑窗口：操作项定义属性 -->
            <label class="layui-form-label">操作项定义</label>
            <div class="layui-input-block">
                <input class="layui-input" id="codeDefine-win" name="codeDefine" placeholder="操作项定义"   autocomplete="off" />
            </div>
	    </div>
		<input id="win-submit" lay-submit lay-filter="win-submit" hidden="true"/>
	</form>
</div>
<!-- windows弹窗定义结束 -->
</html>